/* jquery.gallery3d.css  */ 

/* =.gallery3d */
.gallery3d {
	position: relative;
	margin-top: -45px;
	margin-bottom: 0px;
	padding-top:50px;
	padding-bottom:50px;
}

/* =.gallery3d .a-container */
.gallery3d .a-container {
	position: relative;
	width: 500px;
	min-height: 280px;
	margin: 0 auto;
}

.gallery3d .a-container a {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 500px;
	height: 280px;
	-webkit-box-shadow: 2px 10px 10px hsla(0, 0%, 0%, 0.3);
	-moz-box-shadow: 2px 10px 10px hsla(0, 0%, 0%, 0.3);
	box-shadow: 2px 10px 10px hsla(0, 0%, 0%, 0.3);
}

.gallery3d .a-container .g-center,
.gallery3d nav {
	z-index: 100;
}

.gallery3d .a-container img {
	padding:10px;
}

.gallery3d .a-container .desc {
	position: absolute;
	bottom: -52px;
	width: 100%;
	text-align: center;
	text-shadow: 1px 1px 1px rgba(255,255,255,0.5);
	font-size: 18px;
	color: #333;
}

.gallery3d .a-container p {margin: 0px;}

.gallery3d .a-container .desc { 
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
}
.gallery3d .a-container .g-center .desc { 
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	opacity: 1;
}

.csstransitions .gallery3d .a-container a,
.csstransitions .gallery3d .a-container .desc,
.csstransitions .gallery3d nav button {
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

.no-csstransforms3d .gallery3d .g-prev { left: -250px; }
.no-csstransforms3d .gallery3d .g-next { left: 250px; }

/* =css3transforms3d */
.csstransforms3d .gallery3d .a-container {
	-moz-perspective: 1000px;
	-moz-transform-style: preserve-3d;
	-webkit-perspective: 1000px;
	-webkit-transform-style: preserve-3d;
	perspective: 1000px;
	transform-style: preserve-3d;
}

.csstransforms3d .gallery3d .a-container .g-prev {
	-webkit-transform: translateX(-380px) scale(0.7) rotateY(65deg);
	-moz-transform: translateX(-380px) scale(0.7) rotateY(65deg);
	-o-transform: translateX(-380px) scale(0.7) rotateY(65deg);
	-ms-transform: translateX(-380px) scale(0.7) rotateY(65deg);
	transform: translateX(-380px) scale(0.7) rotateY(65deg);
}

.csstransforms3d .gallery3d .a-container .g-next {
	-webkit-transform: translateX(380px) scale(0.7) rotateY(-65deg);
	-moz-transform: translateX(380px) scale(0.7) rotateY(-65deg);
	-o-transform: translateX(380px) scale(0.7) rotateY(-65deg);
	-ms-transform: translateX(380px) scale(0.7) rotateY(-65deg);
	transform: translateX(380px) scale(0.7) rotateY(-65deg);
}

/* =.gallery3d nav */
.gallery3d nav {
	position: absolute;
	left: 50%;
	bottom: -35px;
	width: 70px;
	margin-left: -37px;
	text-align: center;
}

.gallery3d nav button {
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
	filter: alpha(opacity=80);
	opacity: 0.8;
	width: 24px;
	height: 25px;
	margin-left: 8px;
	border: none;
	background: url(../images/arrows.png) no-repeat;
	text-indent: -10000px;
}

.gallery3d nav button:hover, 
.gallery3d nav button:focus {
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	opacity: 1;
}

.gallery3d nav button.next { 
	background-position: top right;
	margin-right: 0px;
}

/* =.gallery3d.lack */
.gallery3d.lack .a-container {
	width: auto;
	float: left;
	left: 50%;
}

.gallery3d.lack .a-container a {
	position: static;
	float: left;
	margin-right: 10px;
}

.gallery3d.lack .a-container .desc {
	position: static;
	margin-top: 20px;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	opacity: 1;
}


@media handheld, only screen and (max-width: 1023px) {
	
	
	/* =.gallery3d .a-container */
.gallery3d .a-container {
	position: relative;
	width: 400px;
	min-height: 224px;
	margin: 0 auto;
}

.gallery3d .a-container a {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 400px;
	height: 224px;
	
}


.gallery3d .a-container img {
	width:390px;
	height:214px;
	padding:5px;
}


/* =css3transforms3d */

.csstransforms3d .gallery3d .a-container .g-prev {
	-webkit-transform: translateX(-306px) scale(0.7) rotateY(65deg);
	-moz-transform: translateX(-306px) scale(0.7) rotateY(65deg);
	-o-transform: translateX(-306px) scale(0.7) rotateY(65deg);
	-ms-transform: translateX(-306px) scale(0.7) rotateY(65deg);
	transform: translateX(-306px) scale(0.7) rotateY(65deg);
}

.csstransforms3d .gallery3d .a-container .g-next {
	-webkit-transform: translateX(306px) scale(0.7) rotateY(-65deg);
	-moz-transform: translateX(306px) scale(0.7) rotateY(-65deg);
	-o-transform: translateX(306px) scale(0.7) rotateY(-65deg);
	-ms-transform: translateX(306px) scale(0.7) rotateY(-65deg);
	transform: translateX(306px) scale(0.7) rotateY(-65deg);
}

	
}

@media handheld, only screen and (max-width: 767px) {
	
	
	/* =.gallery3d .a-container */
.gallery3d .a-container {
	width: 300px;
	min-height: 168px;
	}

.gallery3d .a-container a {
	
	width: 300px;
	height: 168px;
	
}

.gallery3d .a-container img {
	width:290px;
	height:148px;
	padding:5px;
}


.csstransforms3d .gallery3d .a-container .g-prev {
	-webkit-transform: translateX(-210px) scale(0.6) rotateY(65deg);
	-moz-transform: translateX(-210px) scale(0.6) rotateY(65deg);
	-o-transform: translateX(-210px) scale(0.6) rotateY(65deg);
	-ms-transform: translateX(-210px) scale(0.6) rotateY(65deg);
	transform: translateX(-210px) scale(0.6) rotateY(65deg);
}

.csstransforms3d .gallery3d .a-container .g-next {
	-webkit-transform: translateX(210px) scale(0.6) rotateY(-65deg);
	-moz-transform: translateX(210px) scale(0.6) rotateY(-65deg);
	-o-transform: translateX(210px) scale(0.6) rotateY(-65deg);
	-ms-transform: translateX(210px) scale(0.6) rotateY(-65deg);
	transform: translateX(210px) scale(0.6) rotateY(-65deg);
}
	}